#include<stdio.h>

int main()
{
	int input , output , temp;
	input = 1;
	__asm__ __volatile__(
		"movl $0,%%eax\n\t"				
		"movl %%eax,%1\n\t"
		"movl %2,%%eax\n\t"
		"movl %%eax, %0\n\t"
		:"=m"(output),"=m"(temp)
		:"r"(input)
		:"eax"
	);
	printf("temp = %d output = %d\n",temp,output);
	return 0;
}
